//
//  GridViewItem.h
//  X-Touch2
//
//  Created by shengchao yang on 12-3-9.
//  Copyright (c) 2012年 foxhis. All rights reserved.
//

#import <UIKit/UIKit.h>
#define TagOfUIGridViewItem 56789

@protocol UIGridViewItemDelegate;

@interface GridViewItem : UIView<UIGestureRecognizerDelegate> {
    UIImageView *imageBkg;      //全屏的背景图片
    UIImageView *imageView;     //菜品图片
    UIImageView *imageRecommend;//推荐菜右下角标记
    UILabel *labelName;         //菜品名称
    
    id<UIGridViewItemDelegate> delegate;
}
@property (nonatomic, assign) id<UIGridViewItemDelegate> delegate;
@property (nonatomic, retain) NSString * reuseIdentifier;
- (void) add1fingerTap;	
- (void) setData:(id)data;
- (void) setSelectedItem:(BOOL)selected;
@end

@protocol UIGridViewItemDelegate
@required
-(void) gridViewItemTapped:(GridViewItem *)gridViewItem;
@end